package com.yonyou.demo;

import com.yonyou.common.constants.GitConstants;
import org.gitlab4j.api.GitLabApi;

/**
 * <p>
 *
 * @author fengjiening
 * @since 2024-01-25
 */
public class test {
    public static void main(String[] args) throws Exception {
        GitLabApi gitLabApi = new GitLabApi(GitConstants.GITLAB_URL, GitConstants.GITLAB_TOKEN);
        org.gitlab4j.api.models.Project gitProject = gitLabApi.getProjectApi().getProject(46449L);
        System.err.println("项目名称："+gitProject.getName());
    }
}
